package com.myblog.service.impl;

import com.myblog.service.SmsSend;
import lombok.extern.slf4j.Slf4j;


@Slf4j
public class SmsDefaultSendImpl implements SmsSend {

    @Override
    public boolean sendSms(String mobile, String content) {
        String sendContent = String.format("博客手机登录，验证码%s，请勿泄露他人", content);
        log.info("向手机号{}发送的短信为{}",mobile,sendContent);
        return true;
    }





}
